package com.sdx.console.transaction.dao;

import java.util.List;

import com.sdx.console.transaction.web.query.FinTransactionQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.engine.PageQuery;

import  com.sdx.console.transaction.entity.*;

/**
 * FinTransaction Dao
 */
@SqlResource("trans.finTransaction")
public interface FinTransactionDao extends BaseMapper<FinTransaction>{
    public PageQuery<FinTransaction> queryByCondition(PageQuery query);
    public PageQuery<FinTransaction> queryVirtualByCondition(PageQuery query);
    public void batchDelFinTransactionByIds( List<String> ids);

	/**
	 * 查询订单已经退款的金额
	 * @param transactionId
	 * @return
	 */
	public FinTransForRefund selectTransForRefund(String transactionId);

	public FinTransaction selectTranInfoById(String transactionId);

	public String selectDictName(String type,Integer value);
}